package com.gongzu.liu;

public class Parrot {
    private String id;
    private String name;
    private String from;
    private String colour;
    private String height;
    private String character;

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFrom() {
        return this.from;
    }

    public void setFrom(String name) {
        this.name = name;
    }

    public String getColour() {
        return this.colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public String getHeight() {
        return this.height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getCharacter() {
        return this.character;
    }

    public void setCharacter(String character) {
        this.character = character;
    }

    public void printSingingParrot(String address) {
        System.out.println("鹦鹉" + address + "会唱歌！");
    }

    @Override
    public String toString() {
        return "ID " + this.id +
                " name " + this.name +
                " from " + this.from +
                " colour " + this.colour +
                " height " + this.height;
    }
}